package cc.rengu.redp.bizimpl.upmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘玉亮
 * @since 2021-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_B_ALIPAY_INFO")
@ApiModel(value="AlipayInfo对象", description="")
public class AlipayInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    @TableId(type=IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "支付宝商户类目代码")
    @TableField("ALIPAY_NO")
    @NotBlank(message = "类目代码不能为空！")
    private String alipayNo;

    @ApiModelProperty(value = "支付宝商户一级类目描述")
    @TableField("AP_FST_NAME")
    @NotBlank(message = "一级类目描述不能为空！")
    private String apFstName;

    @ApiModelProperty(value = "支付宝商户二级类目描述")
    @TableField("AP_SEC_NAME")
    @NotBlank(message = "二级类目描述不能为空！")
    private String apSecName;

    @ApiModelProperty(value = "支付宝商户三级类目描述")
    @TableField("AP_THI_NAME")
    @NotBlank(message = "三级类目描述不能为空！")
    private String apThiName;

    @ApiModelProperty(value = "支付宝三级类目编码")
    @TableField("AP_THI_CODE")
    @NotBlank(message = "三级类目编码不能为空！")
    private String apThiCode;

    @ApiModelProperty(value = "审批拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;

    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private String status;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "创建机构")
    @TableField("CRT_ORG_ID")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField(value = "CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField(value = "LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;


}
